package com.xxx.car.service;

import com.xxx.car.entity.vo.request.ReqUserMsg;
import com.xxx.car.entity.vo.request.ReqUserMsgQuery;
import com.xxx.car.entity.vo.response.RespUserMsg;

import java.util.List;

/**
 * Created by xuwenjie on 2017/6/14.
 */
public interface UserMsgService {
    List<RespUserMsg> findByPage(ReqUserMsgQuery query);

    RespUserMsg getByIdAndUser(Integer userId, Integer msgId);

    void modifyStatus(Integer msgId, int status);

    void delteByIdAndUser(Integer userId, List<Integer> msgIds);

    void addMsg(ReqUserMsg reqUserMsg);
}
